home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
4810
/
4810.xpi
/
chrome
/
speeddial.jar
/
content
/
settings
/
pref-controls.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-31
|
18KB
|
356 lines
<?xml version="1.0"?>
<!DOCTYPE overlay [
<!ENTITY % dialogDTD SYSTEM "chrome://speeddial/locale/prefs.dtd">
%dialogDTD;
<!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd">
%tabBrowserDTD;
]>
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
id="ControlsPaneOverlay">
<prefpane id="paneControls" label="&controls.label;" onpaneload="controlsPrefInit();">
<script type="application/x-javascript" src="pref-controls.js"/>
<preferences>
<preference id="pref-ctrlShortcutAction" name="extensions.speeddial.ctrlShortcutAction" type="int"/>
<preference id="pref-ctrlShiftShortcutAction" name="extensions.speeddial.ctrlShiftShortcutAction" type="int"/>
<preference id="pref-altShortcutAction" name="extensions.speeddial.altShortcutAction" type="int"/>
<preference id="pref-altShiftShortcutAction" name="extensions.speeddial.altShiftShortcutAction" type="int"/>
<preference id="pref-ctrlAltShiftShortcutAction" name="extensions.speeddial.ctrlAltShiftShortcutAction" type="int"/>
<preference id="pref-leftClickAction" name="extensions.speeddial.leftClickAction" type="int"/>
<preference id="pref-middleClickAction" name="extensions.speeddial.middleClickAction" type="int"/>
<preference id="pref-rightClickAction" name="extensions.speeddial.rightClickAction" type="int"/>
<preference id="pref-controlLeftClickAction" name="extensions.speeddial.controlLeftClickAction" type="int"/>
<preference id="pref-controlMiddleClickAction" name="extensions.speeddial.controlMiddleClickAction" type="int"/>
<preference id="pref-controlRightClickAction" name="extensions.speeddial.controlRightClickAction" type="int"/>
<preference id="pref-altLeftClickAction" name="extensions.speeddial.altLeftClickAction" type="int"/>
<preference id="pref-altMiddleClickAction" name="extensions.speeddial.altMiddleClickAction" type="int"/>
<preference id="pref-altRightClickAction" name="extensions.speeddial.altRightClickAction" type="int"/>
<preference id="pref-shiftLeftClickAction" name="extensions.speeddial.shiftLeftClickAction" type="int"/>
<preference id="pref-shiftMiddleClickAction" name="extensions.speeddial.shiftMiddleClickAction" type="int"/>
<preference id="pref-shiftRightClickAction" name="extensions.speeddial.shiftRightClickAction" type="int"/>
<preference id="pref-ctrlShortcutMultikey" name="extensions.speeddial.ctrlShortcutMultikey" type="bool"/>
<preference id="pref-ctrlShiftShortcutMultikey" name="extensions.speeddial.ctrlShiftShortcutMultikey" type="bool"/>
<preference id="pref-altShortcutMultikey" name="extensions.speeddial.altShortcutMultikey" type="bool"/>
<preference id="pref-altShiftShortcutMultikey" name="extensions.speeddial.altShiftShortcutMultikey" type="bool"/>
<preference id="pref-ctrlAltShiftShortcutMultikey" name="extensions.speeddial.ctrlAltShiftShortcutMultikey" type="bool"/>
<preference id="pref-multikeyForSingleDigit" name="extensions.speeddial.multikeyForSingleDigit" type="bool"/>
<preference id="pref-multikeySelectWhenComplete" name="extensions.speeddial.multikeySelectWhenComplete" type="bool"/>
</preferences>
<groupbox>
<caption label="&keyboardControls.caption;"/>
<grid flex="1">
<columns>
<column/>
<column/>
<column/>
</columns>
<rows>
<row align="center">
<label value=""/>
<hbox>
<spacer flex="1"/>
<label value="&enableMultikey.label;"/>
</hbox>
<hbox>
<image id="enableMultikeyArrow"/>
</hbox>
</row>
<row align="center" flex="1">
<label value="&ctrlShortcut.label;" control="ctrlShortcutAction"/>
<menulist flex="0" id="ctrlShortcutAction" preference="pref-ctrlShortcutAction" oncommand="ctrlShortcutActionChanged();">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
<menuitem value="6" label="&actionTabSelect.label;"/>
</menupopup>
</menulist>
<checkbox id="ctrlShortcutMultikey" preference="pref-ctrlShortcutMultikey" class="multikeyOption"/>
</row>
<row align="center" flex="1">
<label value="&ctrlShiftShortcut.label;" control="ctrlShiftShortcutAction"/>
<menulist flex="0" id="ctrlShiftShortcutAction" preference="pref-ctrlShiftShortcutAction" oncommand="ctrlShiftShortcutActionChanged();">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
<menuitem value="6" label="&actionTabSelect.label;"/>
</menupopup>
</menulist>
<checkbox id="ctrlShiftShortcutMultikey" preference="pref-ctrlShiftShortcutMultikey" class="multikeyOption"/>
</row>
<row align="center" flex="1">
<label value="&altShortcut.label;" control="altShortcutAction"/>
<menulist flex="0" id="altShortcutAction" preference="pref-altShortcutAction" oncommand="altShortcutActionChanged();">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
<menuitem value="6" label="&actionTabSelect.label;"/>
</menupopup>
</menulist>
<checkbox id="altShortcutMultikey" preference="pref-altShortcutMultikey" class="multikeyOption"/>
</row>
<row align="center" flex="1">
<label value="&altShiftShortcut.label;" control="altShiftShortcutAction"/>
<menulist flex="0" id="altShiftShortcutAction" preference="pref-altShiftShortcutAction" oncommand="altShiftShortcutActionChanged();">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
<menuitem value="6" label="&actionTabSelect.label;"/>
</menupopup>
</menulist>
<checkbox id="altShiftShortcutMultikey" preference="pref-altShiftShortcutMultikey" class="multikeyOption"/>
</row>
<row align="center" flex="1">
<label value="&ctrlAltShiftShortcut.label;" control="ctrlAltShiftShortcutAction"/>
<menulist flex="0" id="ctrlAltShiftShortcutAction" preference="pref-ctrlAltShiftShortcutAction" oncommand="ctrlAltShiftShortcutActionChanged();">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
<menuitem value="6" label="&actionTabSelect.label;"/>
</menupopup>
</menulist>
<checkbox id="ctrlAltShiftShortcutMultikey" preference="pref-ctrlAltShiftShortcutMultikey" class="multikeyOption"/>
</row>
</rows>
</grid>
<separator class="thin"/>
<checkbox id="multikeyForSingleDigit" preference="pref-multikeyForSingleDigit" label="&multikeyForSingleDigit.label;"/>
<checkbox id="multikeySelectWhenComplete" preference="pref-multikeySelectWhenComplete" label="&multikeySelectWhenComplete.label;"/>
</groupbox>
<groupbox>
<caption label="&mouseControls.caption;"/>
<tabbox flex="1">
<tabs>
<tab label="&mouseControls.none;"/>
<tab label="&mouseControls.shift;"/>
<tab label="&mouseControls.control;"/>
<tab label="&mouseControls.alt;"/>
</tabs>
<tabpanels flex="1">
<tabpanel orient="vertical">
<grid flex="1">
<columns>
<column/>
<column/>
</columns>
<rows>
<row align="center" flex="1">
<label value="&leftClick.label;" control="leftClickAction"/>
<menulist flex="0" id="leftClickAction" preference="pref-leftClickAction">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
</menupopup>
</menulist>
</row>
<row align="center" flex="1">
<label value="&middleClick.label;" control="middleClickAction"/>
<menulist flex="0" id="middleClickAction" preference="pref-middleClickAction">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
</menupopup>
</menulist>
</row>
<row align="center" flex="1">
<label value="&rightClick.label;" control="rightClickAction"/>
<menulist flex="0" id="rightClickAction" preference="pref-rightClickAction" oncommand="rightClickActionChanged();">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
<menuitem value="6" label="&actionContextualMenu.label;"/>
</menupopup>
</menulist>
</row>
</rows>
</grid>
</tabpanel>
<tabpanel orient="vertical">
<grid flex="1">
<columns>
<column/>
<column/>
</columns>
<rows>
<row align="center" flex="1">
<label value="&leftClick.label;" control="shiftLeftClickAction"/>
<menulist flex="0" id="shiftLeftClickAction" preference="pref-shiftLeftClickAction">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
</menupopup>
</menulist>
</row>
<row align="center" flex="1">
<label value="&middleClick.label;" control="shiftMiddleClickAction"/>
<menulist flex="0" id="shiftMiddleClickAction" preference="pref-shiftMiddleClickAction">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
</menupopup>
</menulist>
</row>
<row align="center" flex="1">
<label value="&rightClick.label;" control="shiftRightClickAction"/>
<menulist flex="0" id="shiftRightClickAction" preference="pref-shiftRightClickAction" oncommand="shiftRightClickActionChanged();">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
<menuitem value="6" label="&actionContextualMenu.label;"/>
</menupopup>
</menulist>
</row>
</rows>
</grid>
</tabpanel>
<tabpanel orient="vertical">
<grid flex="1">
<columns>
<column/>
<column/>
</columns>
<rows>
<row align="center" flex="1">
<label value="&leftClick.label;" control="controlLeftClickAction"/>
<menulist flex="0" id="controlLeftClickAction" preference="pref-controlLeftClickAction">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
</menupopup>
</menulist>
</row>
<row align="center" flex="1">
<label value="&middleClick.label;" control="controlMiddleClickAction"/>
<menulist flex="0" id="controlMiddleClickAction" preference="pref-controlMiddleClickAction">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
</menupopup>
</menulist>
</row>
<row align="center" flex="1">
<label value="&rightClick.label;" control="controlRightClickAction"/>
<menulist flex="0" id="controlRightClickAction" preference="pref-controlRightClickAction" oncommand="controlRightClickActionChanged();">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
<menuitem value="6" label="&actionContextualMenu.label;"/>
</menupopup>
</menulist>
</row>
</rows>
</grid>
</tabpanel>
<tabpanel orient="vertical">
<grid flex="1">
<columns>
<column/>
<column/>
</columns>
<rows>
<row align="center" flex="1">
<label value="&leftClick.label;" control="altLeftClickAction"/>
<menulist flex="0" id="altLeftClickAction" preference="pref-altLeftClickAction">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
</menupopup>
</menulist>
</row>
<row align="center" flex="1">
<label value="&middleClick.label;" control="altMiddleClickAction"/>
<menulist flex="0" id="altMiddleClickAction" preference="pref-altMiddleClickAction">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
</menupopup>
</menulist>
</row>
<row align="center" flex="1">
<label value="&rightClick.label;" control="altRightClickAction"/>
<menulist flex="0" id="altRightClickAction" preference="pref-altRightClickAction" oncommand="altRightClickActionChanged();">
<menupopup>
<menuitem value="0" label="&actionNothing.label;"/>
<menuitem value="1" label="&actionOpen.label;"/>
<menuitem value="2" label="&actionOpenTab.label;"/>
<menuitem value="3" label="&actionOpenBackgroundTab.label;"/>
<menuitem value="4" label="&actionOpenWindow.label;"/>
<menuitem value="5" label="&actionSave.label;"/>
<menuitem value="6" label="&actionContextualMenu.label;"/>
</menupopup>
</menulist>
</row>
</rows>
</grid>
</tabpanel>
</tabpanels>
</tabbox>
</groupbox>
</prefpane>
</overlay>